package com.stx.day0918;

/**
 * packageName com.stx.day0918
 *
 * @author YangYi
 * @className StudentDemo
 * @date 2025/9/18
 * @description TODO
 */
public class StudentDemo {
    public static void main(String[] args) {
        Student student = new Student("yyi",12345);
        Student student1 = new Student("yyi",12345);
        Student student2 = new Student("yyi",12346);
//        System.out.println(student.equals(student1));
        System.out.println(student.equals(student2));
    }
}
